package cn.darkhorse.ticket.basis.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 产品信息
 * </p>
 *
 * @author wangxinghui
 * @since 2024-01-09
 */
@Getter
@Setter
  @TableName("ticket_product")
@ApiModel(value = "BasisProduct对象", description = "产品信息")
public class TicketProduct implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("编码")
      private String code;

      @ApiModelProperty("名称")
      private String name;
      
      private Boolean isAutomatically;

      @ApiModelProperty("产品分类ID")
      private Long productTypeId;

      @ApiModelProperty("材质")
      private String quality;

      @ApiModelProperty("型号")
      private String model;

      @ApiModelProperty("重量")
      private BigDecimal weight;

      @ApiModelProperty("库存单位")
      private Long unity;

      @ApiModelProperty("工艺路线")
      private String routingCode;

      @ApiModelProperty("附件")
      private String attachments;

      @ApiModelProperty("系统创建时间")
      private LocalDateTime gmtCreate;

      @ApiModelProperty("系统修改时间")
      private LocalDateTime gmtModified;


}
